package com.person.ntv.service.sys;

import java.util.List;
import java.util.Map;
import com.github.pagehelper.Page;
import com.person.common.PageParams;
import com.person.exception.ServiceException;
import com.person.ntv.entity.sys.SysUser;
import com.person.ntv.service.base.IBaseService;

public interface SysUserService extends IBaseService<SysUser>{
	
   public Page<Map<String,Object>> getUserPage(PageParams params)throws ServiceException;
	
   public int deleteByPrimaryKeys(Integer[]ids)throws ServiceException;
   
   public int addUser(SysUser user)throws ServiceException;
	
	public int updateUser(SysUser user)throws ServiceException;
	
	public List<Map<String,Object>> getUserRoleList(Integer userId)throws ServiceException;
}
